home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17718 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.nas.com!news
  2. From: Travis Jones <travis@socrates.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: pointer problem please help
  5. Date: Tue, 16 Apr 1996 01:45:42 -0700
  6. Organization: Network Access Services, Inc.
  7. Message-ID: <31735E36.D86@socrates.com>
  8. NNTP-Posting-Host: dialup12.nas.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13. CC: pointer, problem, please, help
  14.  
  15. I am a newbie trying to learn C++ and am having a problem with the book 
  16. I am using.  It's Jesse Liberty's "Teach Yourself C++ in 21 Days."  I am 
  17. working with microsoft's visual C++ version 1.52.  The problem arises in 
  18. chapter 8 when pointers and the "new" keyword are introduced.  The first 
  19. few programs listed compiled, linked and executed as expected.  But the 
  20. next programs, which use the "new" keyword will not link.  Each time I 
  21. try I get a great deal of error's, most of which state "Unresolved 
  22. External."  I have entered this piece of code seven times and got the 
  23. same result each time so I am positive it has been entered correctly. Is 
  24. this a misprint in the book, does my compiler use a different standard, 
  25. or am I just missing something.  Any help would be greatly appreciated.
  26. Thank You very much.
  27.